package com.yumeng.framework.data.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import com.yumeng.common.data.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author wxd
 * @date 2021/12/14 10:07
 */
@Getter
@AllArgsConstructor
public enum StopedFlag implements BaseEnum {

    STOPED(1, "已停用", true),
    UN_STOPED(0, "未停用", false);

    @EnumValue
    private final Integer code;
    @JsonValue
    private final String desc;
    private final Boolean val;

}
